package ZuoYe4_forXunHuan_0421;

import java.util.Scanner;

public class ZuoYe10_QIuZuiXiao {

	public static void main(String[] args) {
		// 10:输入10个整数，输出最小的数
		Scanner input = new Scanner(System.in);

		int min = 0;
		for (int i = 1; i <= 10; i++) {
			System.out.print("输入第" + i + "个整数:");
			int num = input.nextInt();
			if (i == 1) {
				min = num;
			}
			if (min > num) {
				min = num;
			}
		}
		System.out.println("最小的数:" + min);
	}

}
